.class Lrexsee/core/browser/clazz/BrowserChromeClient$5;
.super Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;
.source "BrowserChromeClient.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/core/browser/clazz/BrowserChromeClient;->onJsPrompt(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsPromptResult;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/core/browser/clazz/BrowserChromeClient;

.field private final synthetic val$result:Landroid/webkit/JsPromptResult;


# direct methods
.method constructor <init>(Lrexsee/core/browser/clazz/BrowserChromeClient;Landroid/webkit/JsPromptResult;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/core/browser/clazz/BrowserChromeClient$5;->this$0:Lrexsee/core/browser/clazz/BrowserChromeClient;

    iput-object p2, p0, Lrexsee/core/browser/clazz/BrowserChromeClient$5;->val$result:Landroid/webkit/JsPromptResult;

    .line 115
    invoke-direct {p0}, Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;-><init>()V

    return-void
.end method


# virtual methods
.method public run(Ljava/lang/String;)V
    .locals 2
    .param p1, "rtn"    # Ljava/lang/String;

    .prologue
    .line 118
    iget-object v0, p0, Lrexsee/core/browser/clazz/BrowserChromeClient$5;->this$0:Lrexsee/core/browser/clazz/BrowserChromeClient;

    # getter for: Lrexsee/core/browser/clazz/BrowserChromeClient;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/core/browser/clazz/BrowserChromeClient;->access$0(Lrexsee/core/browser/clazz/BrowserChromeClient;)Lrexsee/core/browser/Browser;

    move-result-object v0

    iget-object v0, v0, Lrexsee/core/browser/Browser;->promptListeners:Lrexsee/core/browser/RexseePrompt;

    if-nez p1, :cond_0

    const/4 v1, 0x1

    :goto_0
    iput-boolean v1, v0, Lrexsee/core/browser/RexseePrompt;->canceled:Z

    .line 119
    iget-object v0, p0, Lrexsee/core/browser/clazz/BrowserChromeClient$5;->val$result:Landroid/webkit/JsPromptResult;

    if-nez p1, :cond_1

    const-string v1, ""

    :goto_1
    invoke-virtual {v0, v1}, Landroid/webkit/JsPromptResult;->confirm(Ljava/lang/String;)V

    .line 120
    return-void

    .line 118
    :cond_0
    const/4 v1, 0x0

    goto :goto_0

    :cond_1
    move-object v1, p1

    .line 119
    goto :goto_1
.end method
